
import 'package:ysy_flutter_mvvm_yuanxuan/bean/base/BaseBean.dart';

//短视频
class ShortVideoBean extends BaseJsonBean{
  String?  shortVideoId;
  String?  title;
  String?  associatedAddress;
  String?  pic;
  String?  relatedTopicsId;
  String?  crtTime;
  String?  createTime;
  String?  crtUser;
  String?  description;
  int?  userType;
  String?  nickname;
  String?  icon;
  int?  isLike;
  int?  likenumInt;
  int?  commentCount;
  int?  sameProductCount;
  String?  videoUrl;
  int?  videoWidth;
  String?  storeId;
  String?  identityType;
  int?  videoHigh;
  String?  shareUrl;

  ShortVideoBean(
      {this.shortVideoId,
      this.title,
      this.associatedAddress,
      this.pic,
      this.relatedTopicsId,
      this.crtTime,
      this.createTime,
      this.crtUser,
      this.description,
      this.userType,
      this.nickname,
      this.icon,
      this.isLike,
      this.likenumInt,
      this.commentCount,
      this.sameProductCount,
      this.videoUrl,
      this.videoWidth,
      this.storeId,
      this.identityType,
      this.videoHigh,
      this.shareUrl});

  ShortVideoBean.fromJson(Map<String, dynamic> json) {
    shortVideoId = json['shortVideoId'];
    title = json['title'];
    associatedAddress = json['associatedAddress'];
    pic = json['pic'];
    relatedTopicsId = json['relatedTopicsId'];
    crtTime = json['crtTime'];
    createTime = json['createTime'];
    crtUser = json['crtUser'];
    description = json['description'];
    userType = json['userType'];
    nickname = json['nickname'];
    icon = json['icon'];
    isLike = json['isLike'];
    likenumInt = json['likenumInt'];
    commentCount = json['commentCount'];
    sameProductCount = json['sameProductCount'];
    videoUrl = json['videoUrl'];
    videoWidth = json['videoWidth'];
    storeId = json['storeId'];
    identityType = json['identityType'];
    videoHigh = json['videoHigh'];
    shareUrl = json['shareUrl'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['shortVideoId'] = this.shortVideoId;
    data['title'] = this.title;
    data['associatedAddress'] = this.associatedAddress;
    data['pic'] = this.pic;
    data['relatedTopicsId'] = this.relatedTopicsId;
    data['crtTime'] = this.crtTime;
    data['createTime'] = this.createTime;
    data['crtUser'] = this.crtUser;
    data['description'] = this.description;
    data['userType'] = this.userType;
    data['nickname'] = this.nickname;
    data['icon'] = this.icon;
    data['isLike'] = this.isLike;
    data['likenumInt'] = this.likenumInt;
    data['commentCount'] = this.commentCount;
    data['sameProductCount'] = this.sameProductCount;
    data['videoUrl'] = this.videoUrl;
    data['videoWidth'] = this.videoWidth;
    data['storeId'] = this.storeId;
    data['identityType'] = this.identityType;
    data['videoHigh'] = this.videoHigh;
    data['shareUrl'] = this.shareUrl;
    return data;
  }
}
